import request from '@/utils/request'

// info    GET   /admin/acl/index/info
// login   POST  /admin/acl/index/login
// logout  POST  /admin/acl/index/logout

interface loginany{
    username:string,
    password:string
}

export default {
    login(loginsome:loginany){
        return request.post(`/admin/acl/index/login`,loginsome)
    },
    getInfo(){
        return request.get(`/admin/acl/index/info`)
    },
    getlogout(){
        return request.post(`/admin/acl/index/logout`)
    }
}